import http from "@/server/http";

//主页数据 
export const queryMyHomeFrequency  = (params) => {
    return http({
        url: "/mobile/info/index/data",
        method: "POST",
        data: params,
    })
}

//修改密码
export const alterPassword  = (params) => {
    return http({
        url: "/mobile/info/index/update_password",
        method: "POST",
        data: params,
    })
}

//部门选择器 
export const queryDepartment  = (params) => {
    return http({
        url: "admin/department/departmentSelector",
        method: "POST",
        data: params,
    })
}

//修改个人信息 
export const updateUserInfo  = (params) => {
    return http({
        url: "/admin/user/update",
        method: "POST",
        data: params,
    })
}

//系统日志
export const queryLogList  = (params) => {
    return http({
        url: "/common/index/remind",
        method: "POST",
        data: params,
    })
}

